﻿/*
 * Created by SharpDevelop.
 * User: Administrator
 * Date: 2011/9/26
 * Time: 9:51
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using RuoTeng.Util;


namespace Rtools
{
	/// <summary>
	/// Description of MainForm.
	/// </summary>
	public partial class MainForm : Form
	{
		public MainForm()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
			
			//
			// TODO: Add constructor code after the InitializeComponent() call.
			//
		}

        private void btn_test_Click(object sender, EventArgs e)
        {
            string jqm = MachineCode.GetCpuInfo();


            txt_content.Text = "";
            txt_content.AppendText(jqm + "\n");
            /*
            txt_content.AppendText(MachineCode.GetBoisList());
            txt_content.AppendText(MachineCode.GetcpuList());
            txt_content.AppendText(MachineCode.GetBaseList());
            txt_content.AppendText(MachineCode.GetHDinfoList()+"\n");
            txt_content.AppendText(MachineCode.GetMacAddress() +"\n"+ MachineCode.GetSystemType() +"\n"+ MachineCode.GetIPAddress());
            */
        }
	}
}
